settingsenterprise.xml
- settingsenterprise.xml file contains parameters used by the viewer.
- Update the various parameters based on your installation and machine configuration.
- The file is loaded by ViewerEnterprise.swf on the page load event.
Depending on the sample and the web server, the file will contain different script names in each node.
Parameter |
Value |
conversionFileURL |
Web server script name that attends to the AJAX calls and performs the conversion. |
getTotalPagesURL |
Web server script name that returns the total page count of the document. |
getFastPagesURL |
Web server script name that returns the fast page count of the document. |
annotationsFilesURL |
Web server script name that lists the document markup data. |
annotationsOpenURL |
Web server script name that reads the annotation markup data. |
annotationsSaveURL |
Web server script name that saves the annotation markup data. |
LicenseURL |
Web server script name that contains the functions to process license requests. |
Example - Common settingsenterprise.xml file for IIS with ASP.NET |
Copy Code
|
<settings>
<conversionFileURL>../pcc.ashx/FlashViewer/Convert</conversionFileURL>
<getTotalPagesURL>../pcc.ashx/FlashViewer/GetActualPageCount</getTotalPagesURL>
<getFastPagesURL>../pcc.ashx/FlashViewer/GetEstimatedPageCount</getFastPagesURL>
<annotationsFilesURL>../pcc.ashx/FlashViewer/ListMarkup</annotationsFilesURL>
<annotationsOpenURL>../pcc.ashx/FlashViewer/OpenMarkup</annotationsOpenURL>
<annotationsSaveURL>../pcc.ashx/FlashViewer/SaveMarkup</annotationsSaveURL>
<licenseURL>../pcc.ashx/License/ClientViewer</licenseURL>
</settings>
|
Example - Annotations Enabled settingsenterprise.xml file for Apache with PHP |
Copy Code
|
<settings>
<conversionFileURL>../pcc.php/FlashViewer/Convert</conversionFileURL>
<getTotalPagesURL>../pcc.php/FlashViewer/GetActualPageCoun</getTotalPagesURL>
<getFastPagesURL>../pcc.php/FlashViewer/GetEstimatedPageCount</getFastPagesURL>
<annotationsFilesURL>../pcc.php/FlashViewer/ListMarkup</annotationsFilesURL>
<annotationsOpenURL>../pcc.php/FlashViewer/OpenMarkup</annotationsOpenURL>
<annotationsSaveURL>../pcc.php/FlashViewer/SaveMarkup</annotationsSaveURL>
<licenseURL>../pcc.php/FlashViewer/SaveMarkup</licenseURL>
</settings>
|